/*
 * Copyright (c) 2013-2013 XXXX XXXXXX, Inc.
 * XXXX Road, XXXX, XXXX State, XXXX Post code, XXXX Country.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of XXXX
 * XXXXXX, Inc. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with XXXX.
 * 
 * History
 * Date        Ver Author        Change Description
 * ----------- --- ------------- ----------------------------------------
 * 22 May 2013 001 Karl          Create
 */
package test.com.sms.selenium.sc.util;

import org.openqa.selenium.By;

import test.com.sms.selenium.framework.SeleniumPageUtil;
import test.com.sms.selenium.util.SeleniumUtil;

public class ScTicketsPageUtil extends SeleniumPageUtil {
	
	public final static By TICKETS_FONT_TEST_SITE = By.xpath("html/body/center[1]/h4/font");
	public final static By TICKETS_INPUT_PPT_DISPATCH_NUMBER = By.xpath("//*[@id='body']/form[1]/table/tbody/tr[3]/td[2]/input");
	public final static By TICKETS_BUTTON_SEARCH = By.xpath("//*[@id='body']/form[1]/table/tbody/tr[5]/td/input");
	
	public static void waitForPageToLoad(){
		SeleniumUtil.waitOnElements(new By[]{
				TICKETS_FONT_TEST_SITE, TICKETS_INPUT_PPT_DISPATCH_NUMBER, TICKETS_BUTTON_SEARCH
		});
	}
}
